Skip to main content

firstIndent

Type

property

Summary

Determines the indentation of the first line of a paragraph in a field.

Syntax

set the firstIndent [of <line>] of <field> to <pixels>

Description

Use the firstIndent property to created indented paragraphs.

By default, the firstIndent property of newly created fields is set to zero.

Parameters

NameTypeDescription

pixels

The number of pixels to indent the first line of a paragraph of text. The the pixels is set to a negative number, the first line will be outdented by that number of pixels.

Examples

set the firstIndent of field 1 to 10
set the firstIndent of line 5 of field 1 to 10

property: borderWidth, vgrid, textAlign, dontWrap, formattedText, spaceAbove, backgroundColor, listBehavior, listIndent, hidden, textSize, listStyle, tabstops, spaceBelow, rightIndent, listDepth, hgrid, hScrollbar, borderColor, formattedWidth

keyword: field

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?